package com.example.xianyuapp;

import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.view.View;

import io.flutter.app.FlutterActivity;
import io.flutter.plugins.GeneratedPluginRegistrant;

public class MainActivity extends FlutterActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
//    if (Build.VERSION.SDK_INT >= 21) {
//      View decorView = getWindow().getDecorView();
//      decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
//      getWindow().setStatusBarColor(Color.TRANSPARENT);
//    }
    GeneratedPluginRegistrant.registerWith(this);
  }
}
